﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master_General.Master" AutoEventWireup="true"
    CodeBehind="CrearUsuario.aspx.cs" Inherits="DynamicAuditor.WebForm3" %>

<%@ Register Assembly="ComponentArt.Web.UI" Namespace="ComponentArt.Web.UI" TagPrefix="ComponentArt" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br />
    <asp:Table ID="Table1" runat="server" CssClass="Tabla" Width="600" HorizontalAlign="Center">
        <asp:TableHeaderRow CssClass="TablaHeader">
            <asp:TableHeaderCell ColumnSpan="2">
                Mantenimiento de Usuarios
            </asp:TableHeaderCell>
        </asp:TableHeaderRow>
        <asp:TableRow Height="22px">
            <asp:TableCell>
            
            </asp:TableCell>
            <asp:TableCell>
        
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            
            <asp:TableCell>
                Num. Identificación:
            </asp:TableCell><asp:TableCell>
                <ComponentArt:MaskedInput ID="mskCedula" runat="server" MaxLength="9" AcceptedCharacters="1234567890">
                </ComponentArt:MaskedInput>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" SkinID="Requerido"
                    ValidationGroup="v1" ControlToValidate="mskCedula"></asp:RequiredFieldValidator>
            </asp:TableCell></asp:TableRow><asp:TableRow>
             <asp:TableCell>Nombre Completo:</asp:TableCell>
              <asp:TableCell>
                <asp:TextBox runat="server" ID="txtNombre" Width="300" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" SkinID="Requerido"
                    ValidationGroup="v1" ControlToValidate="txtNombre"></asp:RequiredFieldValidator>
            </asp:TableCell></asp:TableRow><asp:TableRow>
            <asp:TableCell>
             Empresa:
            </asp:TableCell><asp:TableCell>
                <asp:TextBox ID="txtempresa" runat="server" Width="300" />
            </asp:TableCell></asp:TableRow><asp:TableRow>
            <asp:TableCell>
            Correo Electrónico:
            </asp:TableCell><asp:TableCell>
                <asp:TextBox ID="txtemail" runat="server" Width="300" />
            </asp:TableCell></asp:TableRow><asp:TableRow>
            <asp:TableCell>
               Cliente
            </asp:TableCell><asp:TableCell>
                <asp:DropDownList ID="ddlCliente" runat="server" />
            </asp:TableCell></asp:TableRow><asp:TableRow>
            <asp:TableCell>
            Usuario:
            </asp:TableCell><asp:TableCell>
                <asp:TextBox ID="txtusuario" runat="server" Width="100" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" SkinID="Requerido"
                    ValidationGroup="v1" ControlToValidate="txtusuario"></asp:RequiredFieldValidator>
            </asp:TableCell></asp:TableRow><asp:TableRow>
            <asp:TableCell>
            Password:
            </asp:TableCell><asp:TableCell>
                <asp:TextBox ID="txtpassword" runat="server" TextMode="Password" Width="100" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" SkinID="Requerido"
                    ValidationGroup="v1" ControlToValidate="txtpassword"></asp:RequiredFieldValidator>
            </asp:TableCell></asp:TableRow><asp:TableRow>
            <asp:TableCell>
            Confirmar Password:
            </asp:TableCell><asp:TableCell>
                <asp:TextBox ID="txtconfirmpassword" runat="server" TextMode="Password" Width="100" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" SkinID="Requerido"
                    ValidationGroup="v1" ControlToValidate="txtconfirmpassword"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Password no concuerdan"
                    ControlToValidate="txtconfirmpassword" ControlToCompare="txtpassword" ValidationGroup="v1"></asp:CompareValidator>
            </asp:TableCell></asp:TableRow><asp:TableRow>
            <asp:TableCell>
            </asp:TableCell><asp:TableCell>
                <asp:CheckBox ID="chkUsrActivo" runat="server" Text="Usuario Activo." />
            </asp:TableCell></asp:TableRow><asp:TableRow Height="22px">
            <asp:TableCell>
            
            </asp:TableCell><asp:TableCell>
        
            </asp:TableCell></asp:TableRow><asp:TableRow>
            <asp:TableCell>
               
            </asp:TableCell><asp:TableCell>
                <asp:ImageButton ID="Crear_Usuario" runat="server" ImageUrl="~/Images/btn_nuevo.gif"
                    OnClick="Salvar" ValidationGroup="v1" />
                &nbsp;&nbsp;&nbsp;
                <asp:ImageButton ID="btnCancelar" runat="server" ImageUrl="~/Images/btn_cancelar.gif"
                    OnClick="Cancel" />
            </asp:TableCell></asp:TableRow><asp:TableFooterRow Height="22">
            <asp:TableCell>
                
            </asp:TableCell><asp:TableCell>
                
            </asp:TableCell></asp:TableFooterRow></asp:Table></asp:Content>